﻿Imports System.Activities

Friend Class ValidationTypeStrings

    Private Const DATABASE_TYPE = "DATABASE"
    Private Const LOG_TYPE = "LOG"

    ''' <summary>バックアップとリストアの種類指定文字のチェック</summary>
    Public Function CheckTypeStrings(ByVal typeStrings As String) As Boolean
        Return (typeStrings.ToUpper.Equals(DATABASE_TYPE) OrElse typeStrings.ToUpper.Equals(LOG_TYPE))
    End Function

End Class
